package com.xinrui.sunnyday.service;

import com.xinrui.sunnyday.exception.SunnydayException;
import com.xinrui.sunnyday.pojo.OrderSetting;

import java.util.List;
import java.util.Map;

public interface OrdersettingService {

    /**
     * 新增: 批量导入预约数据
     *
     * @param orderSettings
     */
    void add(List<OrderSetting> orderSettings) throws SunnydayException;

    List<Map<String, Integer>> findDataByMonth(String month);

    void update(OrderSetting orderSetting) throws SunnydayException;
}
